
def get_final_score(task1_acc, task2_acc, task3_SISDR_blind, task3_SISDR_match):

    task1_score = min(max(task1_acc*1.1, 0), 1) * 15
    task2_score = min(max(task2_acc*1.1, 0), 1) * 15
    task3_score = (min(max((task3_SISDR_blind+5)/10, 0), 1)*0.5+\
        min(max((task3_SISDR_match+5)/10, 0), 1)*0.5) * 20
    final_score = task1_score + task2_score + task3_score
    return final_score